package crm.system.service.userservice.impl;

import crm.system.dao.userdao.UserDao;
import crm.system.entity.SysUser;
import crm.system.service.userservice.UserService;

public class UserServiceImpl implements UserService {
	private UserDao userDao;
	
	public void setUserDao(UserDao userdao) {
		this.userDao = userdao;
	}

	@Override
	/**
	 * 登录功能
	 */
	public SysUser login(SysUser user) {
		return userDao.login(user);
	}

}
